const path = require('path')

const filepath = './成绩.txt'

const target = path.basename(path,'.txt')

console.log(target);